home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / standards / sgml / nist / incs / qntyset.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-09-13  |  4.6 KB  |  84 lines

  1. /* National Institute of Standards and Technology (NIST)
  2. /* National Computer System Laboratory (NCSL)
  3. /* Office Systems Engineering (OSE) Group
  4. /* ********************************************************************
  5. /*                            D I S C L A I M E R
  6. /*                              (March 8, 1989)
  7. /*  
  8. /* There is no warranty for the NIST NCSL OSE SGML parser and/or the NIST
  9. /* NCSL OSE SGML parser validation suite.  If the SGML parser and/or
  10. /* validation suite is modified by someone else and passed on, NIST wants
  11. /* the parser's recipients to know that what they have is not what NIST
  12. /* distributed, so that any problems introduced by others will not
  13. /* reflect on our reputation.
  14. /* 
  15. /* Policies
  16. /* 
  17. /* 1. Anyone may copy and distribute verbatim copies of the SGML source
  18. /* code as received in any medium.
  19. /* 
  20. /* 2. Anyone may modify your copy or copies of SGML parser source code or
  21. /* any portion of it, and copy and distribute such modifications provided
  22. /* that all modifications are clearly associated with the entity that
  23. /* performs the modifications.
  24. /* 
  25. /* NO WARRANTY
  26. /* ===========
  27. /* 
  28. /* NIST PROVIDES ABSOLUTELY NO WARRANTY.  THE SGML PARSER AND VALIDATION
  29. /* SUITE ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
  30. /* EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  31. /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  32. /* THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS
  33. /* WITH YOU.  SHOULD THE SGML PARSER OR VALIDATION SUITE PROVE DEFECTIVE,
  34. /* YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  35. /* 
  36. /* IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL NIST BE LIABLE FOR
  37. /* DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES, OR OTHER SPECIAL,
  38. /* INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
  39. /* INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
  40. /* BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR A
  41. /* FAILURE OF THE PROGRAM TO OPERATE WITH PROGRAMS NOT DISTRIBUTED BY
  42. /* NIST) THE PROGRAM, EVEN IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF
  43. /* SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
  44. */
  45.  
  46. /************************************************************************/
  47. /*   TITLE:          SGML PARSER                                        */
  48. /*   SYSTEM:         DTD PROCESSOR                                      */
  49. /*   SUBSYSTEM:                                                         */
  50. /*   SOURCE FILE:    QNTYSET.H                                          */
  51. /*   AUTHOR:         Steve Lindeman & Fred Maples                       */
  52. /*                                                                      */
  53. /*   DATE CREATED:                                                      */
  54. /*   LAST MODIFIED:                                                     */
  55. /*                                                                      */
  56. /*                  REVISIONS                                           */
  57. /*   WHEN      WHO            WHY                                       */
  58. /************************************************************************/
  59. #define ATTCNT    (40)    /* Number of attribute names and name
  60.                                tokens in an element's attribute definitions */
  61. #define ATTSPLEN  (960)   /* Normalized length of a start-tag's
  62.                                attribute specifications */
  63. #define BSEQLEN   (960)   /* Length of a blank sequence in
  64.               a short reference string */
  65. #define DTAGLEN   (16)    /* Length of a data tag */
  66. #define DTEMPLEN  (16)    /* Length of a data tag template or pattern
  67.                                template (undelimited) */
  68. #define ENTLVL    (16)    /* Nesting level of entities
  69.                                (other than primary) */
  70. #define GRPCNT    (32)    /* Number of tokens in a group */
  71. #define GRPGTCNT  (96)    /* Grand total of tokens at all levels of a
  72.                                model group */
  73. #define GRPLVL    (16)    /* Nesting level of model groups
  74.                                (including first level) */
  75. #define LITLEN    (2048)   /* Length of a literal or delimited
  76.                                attribute value (undelimited) */
  77. #define NAMELEN   (8)     /* Length of a name, name token, number, etc. */
  78. #define NORMSEP   (2)     /* Used in lieu of counting separators in 
  79.                                calculating normalized lengths */
  80. #define PILEN     (240)   /* Length of a processing instruction
  81.                                (undelimited) */
  82. #define TAGLEN    (960)   /* Length of a start tag (undelimited) */
  83. #define TAGLVL    (24)    /* Nesting level of open elements */
  84.